cmake_minimum_required(VERSION 2.6)
PROJECT(test)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

find_package(OpenCV REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})
add_executable(test main.cpp)
TARGET_LINK_LIBRARIES(test ${OpenCV_LIBS})

